package com.leyou.privilege.mapper;

import com.leyou.privilege.entity.ApplicationInfo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author 虎哥
 */
public interface ApplicationMapper extends Mapper<ApplicationInfo> {

    int insertApplicationPrivilege(@Param("serviceId") Long serviceId, @Param("idList") List<Long> idList);

    List<Long> queryTargetIdList(Long serviceId);
}
